.class public Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
.super Landroid/widget/BaseExpandableListAdapter;
.source "CategoryAdapter.java"


# annotations
.annotation system Ldalvik/annotation/MemberClasses;
    value = {
        Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    }
.end annotation


# instance fields
.field private categoryList:Ljava/util/List;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;"
        }
    .end annotation
.end field

.field private currentDownloadBtn:Landroid/view/View;

.field private currentExpandCategoryAppModel:Lcom/brixd/niceapp/model/CategoryAppModel;

.field private currentExpandView:Landroid/view/View;

.field downloadOnClickListener:Landroid/view/View$OnClickListener;

.field downloadSourceOnClickListener:Landroid/view/View$OnClickListener;

.field protected inflater:Landroid/view/LayoutInflater;

.field isAnimating:Z

.field protected mContext:Landroid/content/Context;

.field private mExpandCollapseAnimListener:Lcom/zuimeia/suite/expandablecell/listview/ExpandCollapseAnimListener;

.field private mHandler:Landroid/os/Handler;

.field protected mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

.field private mLayoutViewResourceId:I

.field private mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

.field protected mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

.field private mUserModel:Lcom/brixd/niceapp/model/UserModel;

.field needCollapseOtherView:Z


# direct methods
.method public constructor <init>(Landroid/content/Context;ILcom/brixd/niceapp/model/CategoryModel;Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;)V
    .registers 6
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "layoutViewResourceId"    # I
    .param p3, "categoryModel"    # Lcom/brixd/niceapp/model/CategoryModel;
    .param p4, "listView"    # Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    .prologue
    const/4 v0, 0x0

    .line 78
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 62
    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->needCollapseOtherView:Z

    .line 63
    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->isAnimating:Z

    .line 101
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$1;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$1;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mExpandCollapseAnimListener:Lcom/zuimeia/suite/expandablecell/listview/ExpandCollapseAnimListener;

    .line 371
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$4;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$4;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadOnClickListener:Landroid/view/View$OnClickListener;

    .line 432
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$5;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$5;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadSourceOnClickListener:Landroid/view/View$OnClickListener;

    .line 79
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    .line 80
    iput p2, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mLayoutViewResourceId:I

    .line 81
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    .line 82
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v0, p3}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 83
    iput-object p4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    .line 84
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->init()V

    .line 85
    return-void
.end method

.method public constructor <init>(Landroid/content/Context;ILjava/util/List;Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;)V
    .registers 6
    .param p1, "context"    # Landroid/content/Context;
    .param p2, "layoutViewResourceId"    # I
    .param p4, "listView"    # Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Landroid/content/Context;",
            "I",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;",
            "Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;",
            ")V"
        }
    .end annotation

    .prologue
    .local p3, "objects":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/CategoryModel;>;"
    const/4 v0, 0x0

    .line 69
    invoke-direct {p0}, Landroid/widget/BaseExpandableListAdapter;-><init>()V

    .line 62
    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->needCollapseOtherView:Z

    .line 63
    iput-boolean v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->isAnimating:Z

    .line 101
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$1;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$1;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mExpandCollapseAnimListener:Lcom/zuimeia/suite/expandablecell/listview/ExpandCollapseAnimListener;

    .line 371
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$4;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$4;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadOnClickListener:Landroid/view/View$OnClickListener;

    .line 432
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$5;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$5;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadSourceOnClickListener:Landroid/view/View$OnClickListener;

    .line 70
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    .line 71
    iput p2, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mLayoutViewResourceId:I

    .line 72
    invoke-virtual {p0, p3}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->setCategoryList(Ljava/util/List;)V

    .line 73
    iput-object p3, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    .line 74
    iput-object p4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    .line 75
    invoke-direct {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->init()V

    .line 76
    return-void
.end method

.method static synthetic access$000(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .prologue
    .line 50
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentDownloadBtn:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$002(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Landroid/view/View;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Landroid/view/View;

    .prologue
    .line 50
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentDownloadBtn:Landroid/view/View;

    return-object p1
.end method

.method static synthetic access$100(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .prologue
    .line 50
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentExpandView:Landroid/view/View;

    return-object v0
.end method

.method static synthetic access$102(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Landroid/view/View;)Landroid/view/View;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Landroid/view/View;

    .prologue
    .line 50
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentExpandView:Landroid/view/View;

    return-object p1
.end method

.method static synthetic access$200(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)Lcom/brixd/niceapp/model/CategoryAppModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .prologue
    .line 50
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentExpandCategoryAppModel:Lcom/brixd/niceapp/model/CategoryAppModel;

    return-object v0
.end method

.method static synthetic access$202(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Lcom/brixd/niceapp/model/CategoryAppModel;)Lcom/brixd/niceapp/model/CategoryAppModel;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 50
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->currentExpandCategoryAppModel:Lcom/brixd/niceapp/model/CategoryAppModel;

    return-object p1
.end method

.method static synthetic access$300(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .prologue
    .line 50
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    return-object v0
.end method

.method static synthetic access$400(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)Landroid/os/Handler;
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;

    .prologue
    .line 50
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mHandler:Landroid/os/Handler;

    return-object v0
.end method

.method static synthetic access$500(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Lcom/brixd/niceapp/model/CategoryAppModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 50
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->gotoDetailActivity(Lcom/brixd/niceapp/model/CategoryAppModel;)V

    return-void
.end method

.method static synthetic access$600(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Lcom/brixd/niceapp/model/CategoryAppModel;)V
    .registers 2
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 50
    invoke-direct {p0, p1}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->resetExpandedStatus(Lcom/brixd/niceapp/model/CategoryAppModel;)V

    return-void
.end method

.method static synthetic access$700(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Ljava/lang/String;Ljava/lang/String;I)V
    .registers 4
    .param p0, "x0"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;
    .param p1, "x1"    # Ljava/lang/String;
    .param p2, "x2"    # Ljava/lang/String;
    .param p3, "x3"    # I

    .prologue
    .line 50
    invoke-direct {p0, p1, p2, p3}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->directDownload(Ljava/lang/String;Ljava/lang/String;I)V

    return-void
.end method

.method private directDownload(Ljava/lang/String;Ljava/lang/String;I)V
    .registers 12
    .param p1, "url"    # Ljava/lang/String;
    .param p2, "downloadTitle"    # Ljava/lang/String;
    .param p3, "appId"    # I

    .prologue
    .line 496
    :try_start_0
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    const v1, 0x7f0c0062

    invoke-virtual {v0, v1}, Landroid/content/Context;->getString(I)Ljava/lang/String;

    move-result-object v3

    const-string v4, "nice_apps"

    const/4 v5, 0x1

    move-object v0, p1

    move v1, p3

    move-object v2, p2

    invoke-static/range {v0 .. v5}, Lcom/brixd/niceapp/util/DownloadUtils;->startDownload(Ljava/lang/String;ILjava/lang/String;Ljava/lang/String;Ljava/lang/String;Z)V

    .line 498
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    const v1, 0x7f0c0107

    const/4 v2, 0x0

    invoke-static {v0, v1, v2}, Landroid/widget/Toast;->makeText(Landroid/content/Context;II)Landroid/widget/Toast;

    move-result-object v0

    invoke-virtual {v0}, Landroid/widget/Toast;->show()V
    :try_end_1f
    .catch Ljava/lang/Exception; {:try_start_0 .. :try_end_1f} :catch_20

    .line 508
    :goto_1f
    return-void

    .line 499
    :catch_20
    move-exception v6

    .line 501
    .local v6, "e":Ljava/lang/Exception;
    :try_start_21
    new-instance v7, Landroid/content/Intent;

    invoke-direct {v7}, Landroid/content/Intent;-><init>()V

    .line 502
    .local v7, "intent":Landroid/content/Intent;
    const-string v0, "android.intent.action.VIEW"

    invoke-virtual {v7, v0}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;

    .line 503
    invoke-static {p1}, Landroid/net/Uri;->parse(Ljava/lang/String;)Landroid/net/Uri;

    move-result-object v0

    invoke-virtual {v7, v0}, Landroid/content/Intent;->setData(Landroid/net/Uri;)Landroid/content/Intent;

    .line 504
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    invoke-virtual {v0, v7}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
    :try_end_37
    .catch Ljava/lang/Exception; {:try_start_21 .. :try_end_37} :catch_38

    goto :goto_1f

    .line 505
    .end local v7    # "intent":Landroid/content/Intent;
    :catch_38
    move-exception v0

    goto :goto_1f
.end method

.method private gotoDetailActivity(Lcom/brixd/niceapp/model/CategoryAppModel;)V
    .registers 5
    .param p1, "categoryAppModel"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 312
    if-eqz p1, :cond_6

    iget-object v1, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->type:Ljava/lang/String;

    if-nez v1, :cond_7

    .line 322
    :cond_6
    :goto_6
    return-void

    .line 315
    :cond_7
    invoke-virtual {p0, p1}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->trackGoToDetail(Lcom/brixd/niceapp/model/CategoryAppModel;)V

    .line 316
    new-instance v0, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    invoke-direct {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;-><init>(Landroid/content/Context;)V

    .line 317
    .local v0, "util":Lcom/brixd/niceapp/util/DetailRequestCacheUtil;
    iget-object v1, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->type:Ljava/lang/String;

    const-string v2, "zuimei.daily"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_21

    .line 318
    iget v1, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->appId:I

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoNiceDailyDetail(I)V

    goto :goto_6

    .line 319
    :cond_21
    iget-object v1, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->type:Ljava/lang/String;

    const-string v2, "zuimei.community"

    invoke-virtual {v1, v2}, Ljava/lang/String;->equals(Ljava/lang/Object;)Z

    move-result v1

    if-eqz v1, :cond_6

    .line 320
    iget v1, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->appId:I

    invoke-virtual {v0, v1}, Lcom/brixd/niceapp/util/DetailRequestCacheUtil;->gotoCommunityDetail(I)V

    goto :goto_6
.end method

.method private init()V
    .registers 4

    .prologue
    const v2, 0x7f0201c5

    const/4 v1, 0x1

    .line 89
    invoke-static {}, Lcom/brixd/niceapp/service/UserService;->getLoginUser()Lcom/brixd/niceapp/model/UserModel;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    .line 90
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    check-cast v0, Landroid/app/Activity;

    invoke-virtual {v0}, Landroid/app/Activity;->getLayoutInflater()Landroid/view/LayoutInflater;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->inflater:Landroid/view/LayoutInflater;

    .line 92
    new-instance v0, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    invoke-direct {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;-><init>()V

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageForEmptyUri(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnFail(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    .line 93
    invoke-virtual {v0, v2}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->showImageOnLoading(I)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->resetViewBeforeLoading(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheInMemory(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->cacheOnDisc(Z)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;->EXACTLY:Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;

    .line 94
    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->imageScaleType(Lcom/nostra13/universalimageloader/core/assist/ImageScaleType;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    sget-object v1, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->bitmapConfig(Landroid/graphics/Bitmap$Config;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    new-instance v1, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;

    invoke-direct {v1}, Lcom/nostra13/universalimageloader/core/display/SimpleBitmapDisplayer;-><init>()V

    invoke-virtual {v0, v1}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->displayer(Lcom/nostra13/universalimageloader/core/display/BitmapDisplayer;)Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;

    move-result-object v0

    invoke-virtual {v0}, Lcom/nostra13/universalimageloader/core/DisplayImageOptions$Builder;->build()Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    .line 95
    invoke-static {}, Lcom/nostra13/universalimageloader/core/ImageLoader;->getInstance()Lcom/nostra13/universalimageloader/core/ImageLoader;

    move-result-object v0

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    .line 97
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mHandler:Landroid/os/Handler;

    .line 98
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mListView:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;

    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mExpandCollapseAnimListener:Lcom/zuimeia/suite/expandablecell/listview/ExpandCollapseAnimListener;

    invoke-virtual {v0, v1}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellListView;->setExpandCollapseAnimListener(Lcom/zuimeia/suite/expandablecell/listview/ExpandCollapseAnimListener;)V

    .line 99
    return-void
.end method

.method private resetExpandedStatus(Lcom/brixd/niceapp/model/CategoryAppModel;)V
    .registers 7
    .param p1, "excludeCategoryAppModel"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 420
    const/4 v2, 0x0

    .local v2, "i":I
    :goto_1
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v2, v4, :cond_2e

    .line 421
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4, v2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/CategoryModel;

    .line 422
    .local v1, "categoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    const/4 v3, 0x0

    .local v3, "j":I
    :goto_12
    iget-object v4, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_2b

    .line 423
    iget-object v4, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CategoryAppModel;

    .line 424
    .local v0, "categoryAppModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    if-eq p1, v0, :cond_28

    .line 425
    const/4 v4, 0x0

    invoke-virtual {v0, v4}, Lcom/brixd/niceapp/model/CategoryAppModel;->setExpanded(Z)V

    .line 422
    :cond_28
    add-int/lit8 v3, v3, 0x1

    goto :goto_12

    .line 420
    .end local v0    # "categoryAppModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    :cond_2b
    add-int/lit8 v2, v2, 0x1

    goto :goto_1

    .line 430
    .end local v1    # "categoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    .end local v3    # "j":I
    :cond_2e
    return-void
.end method


# virtual methods
.method protected canLastOneClick()Z
    .registers 2

    .prologue
    .line 297
    const/4 v0, 0x0

    return v0
.end method

.method public getChild(II)Ljava/lang/Object;
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 184
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v0, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getChildId(II)J
    .registers 5
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 194
    int-to-long v0, p2

    return-wide v0
.end method

.method protected getChildOnClickListener()Landroid/view/View$OnClickListener;
    .registers 2

    .prologue
    .line 301
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$3;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$3;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    return-object v0
.end method

.method public getChildView(IIZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 16
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I
    .param p3, "isLastChild"    # Z
    .param p4, "convertView"    # Landroid/view/View;
    .param p5, "parent"    # Landroid/view/ViewGroup;

    .prologue
    const v6, 0x7f0a0007

    const/16 v9, 0x8

    const/4 v8, 0x0

    .line 238
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v4, v4, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4, p2}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CategoryAppModel;

    .line 240
    .local v0, "categoryAppModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    const/4 v2, 0x0

    .line 241
    .local v2, "holder":Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    if-nez p4, :cond_e4

    .line 242
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->inflater:Landroid/view/LayoutInflater;

    iget v5, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mLayoutViewResourceId:I

    invoke-virtual {v4, v5, p5, v8}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p4

    .line 243
    invoke-virtual {p0, p4, v0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->parseViews(Landroid/view/View;Lcom/brixd/niceapp/model/CategoryAppModel;)Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;

    move-result-object v2

    .line 244
    invoke-virtual {p4, v6, v2}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 248
    :goto_28
    const v4, 0x7f0a0002

    invoke-virtual {p4, v4, v0}, Landroid/view/View;->setTag(ILjava/lang/Object;)V

    .line 250
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    const v5, 0x7f0a0001

    invoke-virtual {v4, v5, p4}, Landroid/widget/ImageButton;->setTag(ILjava/lang/Object;)V

    .line 251
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    const/high16 v5, 0x7f0a0000

    invoke-virtual {v4, v5, v0}, Landroid/widget/ImageButton;->setTag(ILjava/lang/Object;)V

    .line 253
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppName:Landroid/widget/TextView;

    iget-object v5, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->appName:Ljava/lang/String;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 254
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppSubTitle:Landroid/widget/TextView;

    iget-object v5, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->subTitle:Ljava/lang/String;

    invoke-virtual {v4, v5}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 255
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v5, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->iconUrl:Ljava/lang/String;

    iget-object v6, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgAppIcon:Landroid/widget/ImageView;

    iget-object v7, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mOptions:Lcom/nostra13/universalimageloader/core/DisplayImageOptions;

    invoke-virtual {v4, v5, v6, v7}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;Lcom/nostra13/universalimageloader/core/DisplayImageOptions;)V

    .line 257
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v4, v4, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    invoke-virtual {p0, p2, v4, v2}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->setItemVisibility(IILcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;)V

    .line 258
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v4, v4, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    invoke-virtual {p0, p2, v4, v2}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->setItemBg(IILcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;)V

    .line 260
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v0}, Lcom/brixd/niceapp/model/CategoryAppModel;->getExpandedHeight()I

    move-result v5

    invoke-virtual {v4, v5}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setExpandedHeight(I)V

    .line 261
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v4, v0}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setSizeChangedListener(Lcom/zuimeia/suite/expandablecell/listview/OnSizeChangedListener;)V

    .line 262
    invoke-virtual {v0}, Lcom/brixd/niceapp/model/CategoryAppModel;->isExpanded()Z

    move-result v4

    if-nez v4, :cond_ec

    .line 263
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v4, v9}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setVisibility(I)V

    .line 268
    :goto_91
    iget v4, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->isApp:I

    if-eqz v4, :cond_9b

    iget v4, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->minSdkVer:I

    sget v5, Landroid/os/Build$VERSION;->SDK_INT:I

    if-le v4, v5, :cond_f2

    .line 269
    :cond_9b
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    const v5, 0x7f020046

    invoke-virtual {v4, v5}, Landroid/widget/ImageButton;->setImageResource(I)V

    .line 273
    :goto_a3
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    iget-object v5, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v4, v5}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 275
    const/4 v3, 0x0

    .local v3, "i":I
    :goto_ab
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_ff

    .line 276
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    .line 277
    .local v1, "downloadSourceBtn":Landroid/widget/ImageButton;
    iget-object v4, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->downloadSources:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-ge v3, v4, :cond_fb

    .line 278
    iget-object v4, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->downloadSources:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/model/DownloadSource;

    iget v4, v4, Lcom/brixd/niceapp/model/DownloadSource;->bgResId:I

    invoke-virtual {v1, v4}, Landroid/widget/ImageButton;->setImageResource(I)V

    .line 279
    invoke-virtual {v1, v8}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 280
    iget-object v4, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->downloadSources:Ljava/util/List;

    invoke-interface {v4, v3}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    invoke-virtual {v1, v4}, Landroid/widget/ImageButton;->setTag(Ljava/lang/Object;)V

    .line 281
    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->downloadSourceOnClickListener:Landroid/view/View$OnClickListener;

    invoke-virtual {v1, v4}, Landroid/widget/ImageButton;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 275
    :goto_e1
    add-int/lit8 v3, v3, 0x1

    goto :goto_ab

    .line 246
    .end local v1    # "downloadSourceBtn":Landroid/widget/ImageButton;
    .end local v3    # "i":I
    :cond_e4
    invoke-virtual {p4, v6}, Landroid/view/View;->getTag(I)Ljava/lang/Object;

    move-result-object v2

    .end local v2    # "holder":Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    check-cast v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;

    .restart local v2    # "holder":Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    goto/16 :goto_28

    .line 265
    :cond_ec
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v4, v8}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setVisibility(I)V

    goto :goto_91

    .line 271
    :cond_f2
    iget-object v4, v2, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    const v5, 0x7f02004c

    invoke-virtual {v4, v5}, Landroid/widget/ImageButton;->setImageResource(I)V

    goto :goto_a3

    .line 283
    .restart local v1    # "downloadSourceBtn":Landroid/widget/ImageButton;
    .restart local v3    # "i":I
    :cond_fb
    invoke-virtual {v1, v9}, Landroid/widget/ImageButton;->setVisibility(I)V

    goto :goto_e1

    .line 287
    .end local v1    # "downloadSourceBtn":Landroid/widget/ImageButton;
    :cond_ff
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->canLastOneClick()Z

    move-result v4

    if-eqz v4, :cond_10d

    .line 288
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->getChildOnClickListener()Landroid/view/View$OnClickListener;

    move-result-object v4

    invoke-virtual {p4, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 293
    :cond_10c
    :goto_10c
    return-object p4

    .line 289
    :cond_10d
    add-int/lit8 v5, p2, 0x1

    iget-object v4, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v4, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v4

    check-cast v4, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v4, v4, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v4}, Ljava/util/List;->size()I

    move-result v4

    if-eq v5, v4, :cond_10c

    .line 290
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->getChildOnClickListener()Landroid/view/View$OnClickListener;

    move-result-object v4

    invoke-virtual {p4, v4}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    goto :goto_10c
.end method

.method public getChildrenCount(I)I
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 174
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    check-cast v0, Lcom/brixd/niceapp/model/CategoryModel;

    iget-object v0, v0, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getGroup(I)Ljava/lang/Object;
    .registers 3
    .param p1, "groupPosition"    # I

    .prologue
    .line 179
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v0, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v0

    return-object v0
.end method

.method public getGroupCount()I
    .registers 2

    .prologue
    .line 169
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v0}, Ljava/util/List;->size()I

    move-result v0

    return v0
.end method

.method public getGroupId(I)J
    .registers 4
    .param p1, "groupPosition"    # I

    .prologue
    .line 189
    int-to-long v0, p1

    return-wide v0
.end method

.method public getGroupView(IZLandroid/view/View;Landroid/view/ViewGroup;)Landroid/view/View;
    .registers 11
    .param p1, "groupPosition"    # I
    .param p2, "isExpanded"    # Z
    .param p3, "convertView"    # Landroid/view/View;
    .param p4, "parent"    # Landroid/view/ViewGroup;

    .prologue
    .line 209
    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    invoke-interface {v3, p1}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/CategoryModel;

    .line 210
    .local v1, "categoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    if-nez p3, :cond_14

    .line 211
    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->inflater:Landroid/view/LayoutInflater;

    const v4, 0x7f030065

    const/4 v5, 0x0

    invoke-virtual {v3, v4, p4, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;

    move-result-object p3

    .line 214
    :cond_14
    const v3, 0x7f0a0156

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v2

    check-cast v2, Landroid/widget/TextView;

    .line 215
    .local v2, "categoryNameTxt":Landroid/widget/TextView;
    const v3, 0x7f0a0155

    invoke-virtual {p3, v3}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v0

    check-cast v0, Landroid/widget/ImageView;

    .line 217
    .local v0, "categoryIconImg":Landroid/widget/ImageView;
    iget-object v3, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryName:Ljava/lang/String;

    invoke-virtual {v2, v3}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V

    .line 218
    const/4 v3, 0x0

    invoke-virtual {v0, v3}, Landroid/widget/ImageView;->setImageBitmap(Landroid/graphics/Bitmap;)V

    .line 219
    iget-object v3, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mImageLoader:Lcom/nostra13/universalimageloader/core/ImageLoader;

    iget-object v4, v1, Lcom/brixd/niceapp/model/CategoryModel;->iconUrl:Ljava/lang/String;

    invoke-virtual {v3, v4, v0}, Lcom/nostra13/universalimageloader/core/ImageLoader;->displayImage(Ljava/lang/String;Landroid/widget/ImageView;)V

    .line 221
    new-instance v3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$2;

    invoke-direct {v3, p0, v1}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$2;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;Lcom/brixd/niceapp/model/CategoryModel;)V

    invoke-virtual {p3, v3}, Landroid/view/View;->setOnClickListener(Landroid/view/View$OnClickListener;)V

    .line 233
    return-object p3
.end method

.method protected getUserId()I
    .registers 3

    .prologue
    .line 545
    const/4 v0, 0x0

    .line 546
    .local v0, "userId":I
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    if-eqz v1, :cond_b

    .line 547
    iget-object v1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-virtual {v1}, Lcom/brixd/niceapp/model/UserModel;->getUid()I

    move-result v0

    .line 549
    :cond_b
    return v0
.end method

.method public hasStableIds()Z
    .registers 2

    .prologue
    .line 199
    const/4 v0, 0x0

    return v0
.end method

.method public isChildSelectable(II)Z
    .registers 4
    .param p1, "groupPosition"    # I
    .param p2, "childPosition"    # I

    .prologue
    .line 204
    const/4 v0, 0x1

    return v0
.end method

.method parseViews(Landroid/view/View;Lcom/brixd/niceapp/model/CategoryAppModel;)Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    .registers 6
    .param p1, "convertView"    # Landroid/view/View;
    .param p2, "categoryAppModel"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 511
    new-instance v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;

    invoke-direct {v0, p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;-><init>(Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;)V

    .local v0, "holder":Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;
    move-object v1, p1

    .line 512
    check-cast v1, Landroid/widget/RelativeLayout;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->convertView:Landroid/widget/RelativeLayout;

    .line 513
    const v1, 0x7f0a014f

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewBg:Landroid/view/View;

    .line 514
    const v1, 0x7f0a00be

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewAppInfo:Landroid/view/View;

    .line 515
    const v1, 0x7f0a003a

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppName:Landroid/widget/TextView;

    .line 516
    const v1, 0x7f0a00bf

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/TextView;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppSubTitle:Landroid/widget/TextView;

    .line 517
    const v1, 0x7f0a002f

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgAppIcon:Landroid/widget/ImageView;

    .line 518
    const v1, 0x7f0a0154

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageView;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    .line 519
    const v1, 0x7f0a0044

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    .line 520
    const v1, 0x7f0a0003

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    .line 521
    const v1, 0x7f0a0150

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc1:Landroid/widget/ImageButton;

    .line 522
    const v1, 0x7f0a0151

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc2:Landroid/widget/ImageButton;

    .line 523
    const v1, 0x7f0a0152

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc3:Landroid/widget/ImageButton;

    .line 524
    const v1, 0x7f0a0153

    invoke-virtual {p1, v1}, Landroid/view/View;->findViewById(I)Landroid/view/View;

    move-result-object v1

    check-cast v1, Landroid/widget/ImageButton;

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc4:Landroid/widget/ImageButton;

    .line 525
    new-instance v1, Ljava/util/ArrayList;

    invoke-direct {v1}, Ljava/util/ArrayList;-><init>()V

    iput-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    .line 526
    iget-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    iget-object v2, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc1:Landroid/widget/ImageButton;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 527
    iget-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    iget-object v2, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc2:Landroid/widget/ImageButton;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 528
    iget-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    iget-object v2, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc3:Landroid/widget/ImageButton;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 529
    iget-object v1, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtnList:Ljava/util/List;

    iget-object v2, v0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->btnDownloadSrc4:Landroid/widget/ImageButton;

    invoke-interface {v1, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 530
    return-object v0
.end method

.method public setCategoryList(Lcom/brixd/niceapp/model/CategoryModel;)V
    .registers 3
    .param p1, "categoryModel"    # Lcom/brixd/niceapp/model/CategoryModel;

    .prologue
    .line 162
    new-instance v0, Ljava/util/ArrayList;

    invoke-direct {v0}, Ljava/util/ArrayList;-><init>()V

    .line 163
    .local v0, "list":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/CategoryModel;>;"
    invoke-interface {v0, p1}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    .line 164
    iput-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    .line 165
    return-void
.end method

.method public setCategoryList(Ljava/util/List;)V
    .registers 10
    .annotation system Ldalvik/annotation/Signature;
        value = {
            "(",
            "Ljava/util/List",
            "<",
            "Lcom/brixd/niceapp/model/CategoryModel;",
            ">;)V"
        }
    .end annotation

    .prologue
    .local p1, "categoryList":Ljava/util/List;, "Ljava/util/List<Lcom/brixd/niceapp/model/CategoryModel;>;"
    const/4 v7, -0x1

    .line 142
    iput-object p1, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->categoryList:Ljava/util/List;

    .line 145
    invoke-interface {p1}, Ljava/util/List;->iterator()Ljava/util/Iterator;

    move-result-object v4

    :cond_7
    :goto_7
    invoke-interface {v4}, Ljava/util/Iterator;->hasNext()Z

    move-result v5

    if-eqz v5, :cond_53

    invoke-interface {v4}, Ljava/util/Iterator;->next()Ljava/lang/Object;

    move-result-object v1

    check-cast v1, Lcom/brixd/niceapp/model/CategoryModel;

    .line 146
    .local v1, "categoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    if-eqz v1, :cond_7

    iget-object v5, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    if-eqz v5, :cond_7

    iget-object v5, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v5}, Ljava/util/List;->size()I

    move-result v5

    if-lez v5, :cond_7

    .line 147
    iget-object v5, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    iget-object v6, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v6}, Ljava/util/List;->size()I

    move-result v6

    add-int/lit8 v6, v6, -0x1

    invoke-interface {v5, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v3

    check-cast v3, Lcom/brixd/niceapp/model/CategoryAppModel;

    .line 148
    .local v3, "lastModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    iget v5, v3, Lcom/brixd/niceapp/model/CategoryAppModel;->appId:I

    if-eq v5, v7, :cond_7

    .line 152
    iget-object v5, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    const/4 v6, 0x0

    invoke-interface {v5, v6}, Ljava/util/List;->get(I)Ljava/lang/Object;

    move-result-object v2

    check-cast v2, Lcom/brixd/niceapp/model/CategoryAppModel;

    .line 153
    .local v2, "firstModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    new-instance v0, Lcom/brixd/niceapp/model/CategoryAppModel;

    invoke-virtual {v2}, Lcom/brixd/niceapp/model/CategoryAppModel;->getCollapsedHeight()I

    move-result v5

    invoke-direct {v0, v5}, Lcom/brixd/niceapp/model/CategoryAppModel;-><init>(I)V

    .line 154
    .local v0, "categoryAppModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    iput v7, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->appId:I

    .line 155
    iget-object v5, v2, Lcom/brixd/niceapp/model/CategoryAppModel;->downloadSources:Ljava/util/List;

    iput-object v5, v0, Lcom/brixd/niceapp/model/CategoryAppModel;->downloadSources:Ljava/util/List;

    .line 156
    iget-object v5, v1, Lcom/brixd/niceapp/model/CategoryModel;->categoryAppModels:Ljava/util/List;

    invoke-interface {v5, v0}, Ljava/util/List;->add(Ljava/lang/Object;)Z

    goto :goto_7

    .line 159
    .end local v0    # "categoryAppModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    .end local v1    # "categoryModel":Lcom/brixd/niceapp/model/CategoryModel;
    .end local v2    # "firstModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    .end local v3    # "lastModel":Lcom/brixd/niceapp/model/CategoryAppModel;
    :cond_53
    return-void
.end method

.method protected setItemBg(IILcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;)V
    .registers 6
    .param p1, "position"    # I
    .param p2, "total"    # I
    .param p3, "holder"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;

    .prologue
    const/16 v1, 0x8

    .line 359
    if-nez p1, :cond_12

    .line 360
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 361
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewBg:Landroid/view/View;

    const v1, 0x7f02002b

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    .line 369
    :goto_11
    return-void

    .line 362
    :cond_12
    add-int/lit8 v0, p1, 0x1

    if-ne v0, p2, :cond_24

    .line 363
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 364
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewBg:Landroid/view/View;

    const v1, 0x7f020026

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    goto :goto_11

    .line 366
    :cond_24
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    const/4 v1, 0x0

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 367
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewBg:Landroid/view/View;

    const v1, 0x7f020080

    invoke-virtual {v0, v1}, Landroid/view/View;->setBackgroundResource(I)V

    goto :goto_11
.end method

.method protected setItemVisibility(IILcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;)V
    .registers 7
    .param p1, "position"    # I
    .param p2, "total"    # I
    .param p3, "holder"    # Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;

    .prologue
    const/16 v2, 0x8

    const/4 v1, 0x0

    .line 339
    add-int/lit8 v0, p1, 0x1

    if-ne v0, p2, :cond_2b

    .line 340
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppName:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 341
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppSubTitle:Landroid/widget/TextView;

    invoke-virtual {v0, v2}, Landroid/widget/TextView;->setVisibility(I)V

    .line 342
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v2}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 343
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v0, v2}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setVisibility(I)V

    .line 344
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgAppIcon:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 345
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    invoke-virtual {v0, v2}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 346
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewAppInfo:Landroid/view/View;

    invoke-virtual {v0, v2}, Landroid/view/View;->setVisibility(I)V

    .line 356
    :goto_2a
    return-void

    .line 348
    :cond_2b
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppName:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 349
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->txtAppSubTitle:Landroid/widget/TextView;

    invoke-virtual {v0, v1}, Landroid/widget/TextView;->setVisibility(I)V

    .line 350
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->downloadBtn:Landroid/widget/ImageButton;

    invoke-virtual {v0, v1}, Landroid/widget/ImageButton;->setVisibility(I)V

    .line 351
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->expandableCellLayout:Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;

    invoke-virtual {v0, v1}, Lcom/zuimeia/suite/expandablecell/listview/ExpandableCellLayout;->setVisibility(I)V

    .line 352
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgAppIcon:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 353
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->imgTopDivider:Landroid/widget/ImageView;

    invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setVisibility(I)V

    .line 354
    iget-object v0, p3, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter$ViewHolder;->viewAppInfo:Landroid/view/View;

    invoke-virtual {v0, v1}, Landroid/view/View;->setVisibility(I)V

    goto :goto_2a
.end method

.method protected traceZMEvent(Ljava/lang/String;)V
    .registers 3
    .param p1, "jsonContent"    # Ljava/lang/String;

    .prologue
    .line 335
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mUserModel:Lcom/brixd/niceapp/model/UserModel;

    invoke-static {v0}, Lcom/brixd/niceapp/util/SecrUtils;->makeToken(Lcom/brixd/niceapp/model/UserModel;)Lcom/brixd/niceapp/model/Token;

    move-result-object v0

    invoke-static {p1, v0}, Lcom/brixd/niceapp/service/StatisticsService;->logInfo(Ljava/lang/String;Lcom/brixd/niceapp/model/Token;)V

    .line 336
    return-void
.end method

.method protected trackDownload(Lcom/brixd/niceapp/model/DownloadSource;Ljava/lang/String;)V
    .registers 10
    .param p1, "downloadSource"    # Lcom/brixd/niceapp/model/DownloadSource;
    .param p2, "source"    # Ljava/lang/String;

    .prologue
    .line 329
    const-string v1, "category_top"

    iget-object v2, p1, Lcom/brixd/niceapp/model/DownloadSource;->fromType:Ljava/lang/String;

    iget v3, p1, Lcom/brixd/niceapp/model/DownloadSource;->appId:I

    iget v4, p1, Lcom/brixd/niceapp/model/DownloadSource;->categoryId:I

    .line 330
    invoke-virtual {p0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->getUserId()I

    move-result v5

    move-object v0, p2

    .line 329
    invoke-static/range {v0 .. v5}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeCategoryDownloadJson(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;III)Lorg/json/JSONObject;

    move-result-object v6

    .line 331
    .local v6, "jo":Lorg/json/JSONObject;
    invoke-static {v6}, Lcom/brixd/niceapp/util/ZMStatisticsUtils;->makeZMLog(Lorg/json/JSONObject;)Ljava/lang/String;

    move-result-object v0

    invoke-virtual {p0, v0}, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->traceZMEvent(Ljava/lang/String;)V

    .line 332
    return-void
.end method

.method protected trackGoToDetail(Lcom/brixd/niceapp/model/CategoryAppModel;)V
    .registers 5
    .param p1, "categoryAppModel"    # Lcom/brixd/niceapp/model/CategoryAppModel;

    .prologue
    .line 325
    iget-object v0, p0, Lcom/brixd/niceapp/activity/fragment/adapter/CategoryAdapter;->mContext:Landroid/content/Context;

    const-string v1, "ClickCategoryTopApp"

    iget-object v2, p1, Lcom/brixd/niceapp/model/CategoryAppModel;->appName:Ljava/lang/String;

    invoke-static {v0, v1, v2}, Lcom/umeng/analytics/MobclickAgent;->onEvent(Landroid/content/Context;Ljava/lang/String;Ljava/lang/String;)V

    .line 326
    return-void
.end method
